@import "./variable.scss";
@import "./skeleton.scss";

page {
  background-color: #f5f5f5;
}

button[type="none"],
button[type="primary"] {
  background: none;
  line-height: 1;
  padding: 0;
  margin: 0;
}

button[type="none"],
button[type="primary"] {
  &::after {
    border: none;
  }
}

.button-hover[type="none"],
.button-hover[type="primary"] {
  opacity: 0.8;
}

button[type="primary"] {
  background-color: #2878FF;
  color: #fff;
}

button[disabled][type=primary] {
  background-color: #dddddd;
  color: #aaabab;
}

.button-hover[type=primary] {
  background-color: #2878FF;
  color: hsla(0, 0%, 100%, .6);
}

.button-hover[disabled] {
  opacity: 1;

}

.text-overflow-1 {
  display: -webkit-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.text-overflow-2 {
  display: -webkit-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.text-overflow-3 {
  display: -webkit-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.no-label {
  .uni-forms-item__label {
    display: none;
  }
}

.puppet-taabar-page_container {
  width: 100%;
  min-height: 100vh;
}

._isRequired::before {
  color: #dd524d;
  font-weight: bold;
  font-size: 28rpx;
  content: '*';
  position: absolute;
  transform: translateX(-100%);
}

.card-shadow {
  box-shadow: 0px 4rpx 24rpx 0px rgba(150, 151, 153, .8);
}

.is-disabled {
  border-color: #e5e5e5;
  background-color: #f7f6f6 !important;
  color: #666664 !important;

  .uni-easyinput__placeholder-class {
    color: #666664 !important;
  }
}